MPHB\Payments\Gateways\Gateway B

Total Complexity 84
Dependencies 6
Dependents 1
Total lines 571
Lines of code 293
Logical lines of code 140
Comment lines 166
Methods 36
Properties 14

Methods 36

Method Rating Maintainability Complexity Lines of code
parsePaymentFields()
B
43 22 42
renderField()
A
52 8 21
renderFieldWrapper()
S
50 5 32
registerOptionsFields()
S
42 3 58
setupPaymentFields()
S
62 6 10
storePaymentFields()
S
65 3 8
getOption()
S
64 2 9
renderPaymentFields()
S
71 2 5
getDefaultOption()
S
78 2 3
register()
S
74 2 5
getMode()
S
80 2 3
isActive()
S
80 2 3
generateItemName()
S
68 2 7
paymentCompleted()
S
80 1 3
paymentOnHold()
S
80 1 3
paymentRefunded()
S
80 1 3
isSandbox()
S
82 1 3
getCheckoutData()
S
71 1 6
hasPaymentFields()
S
80 1 3
paymentFailed()
S
80 1 3
__construct()
S
66 1 8
processPayment()
S
100 1 0
isShowOptions()
S
82 1 3
preRegister()
S
79 1 3
initPaymentFields()
S
82 1 3
initId()
S
100 1 0
setupProperties()
S
68 1 7
initDefaultOptions()
S
66 1 9
getDescription()
S
82 1 3
isEnabled()
S
82 1 3
getInstructions()
S
82 1 3
getTitle()
S
82 1 3
getAdminDescription()
S
82 1 3
getAdminTitle()
S
82 1 3
getId()
S
82 1 3
hasVisiblePaymentFields()
S
66 1 9